package com.hb.dao.hibernate;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.hb.dao.CategoryDao;
import com.hb.model.Category;


/**
 * This class interacts with hibernate session to save/delete and
 * retrieve Category objects.
 *
 * @author Pham Hong Hung
 */
@Repository
public class CategoryDaoHibernate extends GenericDaoHibernate<Category, Long> implements CategoryDao {

    /**
     * Constructor to create a Generics-based version using Role as the entity
     */
    public CategoryDaoHibernate() {
        super(Category.class);
    }

}
